
package ga;

import java.io.FileNotFoundException;
import java.io.IOException;

public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException, IOException {
        Graph graph = new Graph();
        graph.fillMatrix("src/ga/test_0.txt");
        try {
            // carsNum, graph, populationSize
            Algorithm a = new Algorithm (10, graph, 10);
            Population generatePopulation = a.createPopulation();
            // generations number
            a.start(6);
        }
        catch (Exception e) {
            System.out.println(e.toString());
        }
        
    }

}
